package com.songlanyun.modules.browse.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.enums.OpusConstant;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.browse.entity.BrowseRecord;

import java.util.Date;
import java.util.Map;

/**
 * 浏览记录表
 *
 * @author wuchao
 * @email sunlightcs@gmail.com
 * @date 2021-02-24 17:24:21
 */
public interface BrowseRecordService extends IService<BrowseRecord> {

    PageUtils queryPage(Map<String, Object> params);

    Boolean browse(OpusConstant.ModelType modelType, Long modelId, Long browseUserId, Long publisherId, Date time);

    void modelDel(OpusConstant.ModelType modelType, Long modelId);
}

